package com.zyn.inventory.management.enums;

public enum UserRole {
    //system administrator
    ROLE_ADMIN("role.admin"),
    //system common user (non administrator)
    ROLE_USER("role.user"),
    //User for the project
    ROLE_PROJECT_USER("role.project.user"),
    //Administer of the project
    ROLE_PROJECT_MANAGER("role.project.manager"),
    //Administer of the HR
    ROLE_HR_MANAGER("role.hr.manager"),
    //Non-adminster user of the HR
    ROLE_HR_USER("role.hr.user");

    private final String messageKey;

    private UserRole(String messageKey) {
        this.messageKey = messageKey;
    }

    public String getMessageKey() {
        return messageKey;
    }
}
